package com.zjjh.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zjjh.mapper.UserinfoMapper;
import com.zjjh.entity.Userinfo;
import com.zjjh.service.UserinfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Slf4j
@Service("UserinfoService")
public class UserinfoServiceImpl extends ServiceImpl<UserinfoMapper, Userinfo> implements UserinfoService {

    @Autowired
    private UserinfoMapper userinfoMapper;

    @Override
    public String getByMobile(String mobile) {
        return this.userinfoMapper.getByMobile(mobile);
    }
}
